home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / strategy / xvmahjon.por / xvmahjon / xvmahjongg / sunview / Makefile.xvicons < prev    next >
Makefile  |  1991-12-20  |  1KB  |  54 lines

  1. # This Makefile uses the icons.o compiled for XView, which is assumed to
  2. # in the ".." directory.
  3. #    - skt 9/20/91
  4.  
  5. #/*
  6. # *    Copyright 1988, Mark Holm
  7. # *            Exceptions
  8. # *
  9. # *    Acknowledgments to Dorothy Robinson for her artistic
  10. # *     abilities in drawing the icons and to Jim Batch for
  11. # *     technical support and graphical concepts (which I abandoned in favor
  12. # *       of the easy way out).
  13. # *
  14. # *    Permission is given to copy and distribute for non-profit purposes.
  15. # *
  16. # */
  17. #    Removed the DISTFILES? entries as they didn't match the
  18. #    net distributed version and I didn't want to put in 37 entries.
  19. #        Bill Randle, 6/17/88
  20. #
  21.  
  22. #ifndef lint
  23. # place to put the manual page
  24. MANLOC = /usr/public/man/manp/mahjongg_sv.p
  25.  
  26. # Place to put the executable
  27. DEST = /usr/public/bin/mahjongg_sv
  28.  
  29. #Target machine - -DSWAP only valid define
  30. # currently only necessary when compiling icons.o
  31. TARGET=
  32.  
  33. CFLAGS = -O
  34.  
  35. SWOBJS = ../icons.o mahjongg.o event.o
  36. SWLIBS= -lsuntool -lsunwindow -lpixrect
  37.  
  38. mahjongg: $(SWOBJS)
  39.     cc $(CFLAGS) -o $@ $(SWOBJS) $(SWLIBS)
  40.  
  41. install: mahjongg
  42.     cp mahjongg $(DEST)
  43.     cp mahjongg.6 $(MANLOC)
  44.  
  45. mahjongg.o: mahjongg.h color.h
  46.  
  47. event.o: mahjongg.h
  48.  
  49. ../icons.o:
  50.     cd ..; make icons.o
  51.  
  52. clean:
  53.     /bin/rm -f core mahjongg *.o swshar*
  54.